package com.example.test.service.impl;

import com.example.test.dao.IMarketDao;
import com.example.test.dao.IUserDao;
import com.example.test.entity.Market;
import com.example.test.entity.User;
import com.example.test.service.IMarketService;
import com.example.test.service.IUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MarketService implements IMarketService {
    @Autowired
    private IMarketDao iMarketDao;

    @Override
    public List<Market> get() {
        return iMarketDao.get();
    }
}
